import { createRouter, createWebHistory } from 'vue-router'
import routes from '~pages'

routes.push(
  {
    path: '/',
    component: () => import('@/views/playerDemo/Index.vue'),
  },
  {
    path: '/playerDemo',
    component: () => import('@/views/playerDemo/Index.vue'),
  },
)

const router = createRouter({
  history: createWebHistory(),
  routes,
})

export default router
